cmake_minimum_required(VERSION 3.0)

project(THREADPOLL)

set(CMAKE_BUILD_TYPE Debug)

set(CMAKE_CXX_STANDARD 17)

find_package(Threads)

set(fileList test.cpp threadPool.cpp)

add_executable(threadPool ${fileList})

target_link_libraries(threadPool ${CMAKE_THREAD_LIBS_INIT})
